Called before the EntityManager fetches data from an EntityServer. Will only be called if the query will not be satisfied out of the local cache.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Sub OnFetching( _
ByVal source As T, _
ByVal args As IdeaBlade.EntityModel.EntityFetchingEventArgs _
) |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As EntityManagerDelegate(Of T)
Dim source As T
Dim args As IdeaBlade.EntityModel.EntityFetchingEventArgs
instance.OnFetching(source, args) |
C# | |
---|
public virtual void OnFetching(
T source,
IdeaBlade.EntityModel.EntityFetchingEventArgs args
) |
C++/CLI | |
---|
public:
virtual void OnFetching(
T^ source,
IdeaBlade.EntityModel.EntityFetchingEventArgs^ args
) |
Parameters
- source
- The source of the event.
- args
- The original event arguments.
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also